package com.youlai.boot.factory.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.factory.model.entity.WorkOrderProcess;
import com.youlai.boot.factory.model.form.WorkOrderProcessForm;

/**
 * 报工工序明细对象转换器
 *
 * @author youlaitech
 * @since 2025-10-16 15:34
 */
@Mapper(componentModel = "spring")
public interface WorkOrderProcessConverter{

    WorkOrderProcessForm toForm(WorkOrderProcess entity);

    WorkOrderProcess toEntity(WorkOrderProcessForm formData);
}